

<div class="bjui-pageContent">
	<form action="${base}/admin/questionsEdit" id="form1"
		data-toggle="validate" data-alertmsg="false">
		<input type="hidden" name="id" value="${vo.id}" />
		<table class="table table-condensed table-hover">
			<tbody>
				<tr>
					<td><label for="year" class="control-label x85">来源：</label>
						<input type="text" name="year" id="year" style="width:300px"
						value="${vo.year!}" data-rule=""></td>
					<td>
				</tr>
				<tr>
					<td><label for="type" class="control-label x85">题型：</label> <select data-rule="required"
						name=type data-toggle="selectpicker" data-width=150>
							</option> <#list questionsType?keys as i>
							<option value="${i}"}  <#if
								vo.type??&&vo.type==i?number> selected</#if>>${questionsType[i]}</option>
							</#list>
					</select></td>
					<td>
				</tr>
		<!-- 		<tr>
					<td><label for="type2" class="control-label x85">类型 ：</label> <select  data-rule="required"
						name="type2" data-toggle="selectpicker" data-width=150>
							</option> <#list Type?keys as i>
							<option value="${i}"}  	<#if
								vo.type2??&&vo.type2==i?number> selected</#if>>${Type[i]}</option> </#list>
					</select></td>
					<td>
				</tr> -->		
						<tr>
					<td><label for="title" class="control-label x85"> 题干：</label>
						<textarea cols="70" rows="5" type="text" name="title" id="title" 
						data-rule="required">${vo.title!}</textarea></td>
					<td>
				</tr>
						<tr>
					<td><label for="content" class="control-label x85">选项：</label>
						<textarea cols="70" rows="5" type="text" name="content" id="content"
						 data-rule="">${vo.content!}</textarea></td>
					<td>
				</tr>
			
				<#assign json=vo.image2?eval />
					<tr>
					<td><label for="image2" class="control-label x85">题干公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up7" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success7" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="${json[0]!}" id="doc_pic7">
                        </div> <span id="doc_span_pic7"><img src="http://jiaoshi.oss-cn-hangzhou.aliyuncs.com/${json[0]!}" height="100" width="200"></span></td>
					<td>
				</tr>
					<tr>
					<td><label for="image2" class="control-label x85">答案公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up8" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success8" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="${json[1]!}" id="doc_pic8">
                        </div> <span id="doc_span_pic8"><img src="http://jiaoshi.oss-cn-hangzhou.aliyuncs.com/${json[1]!}" height="100" width="200"></span></td>
					<td>
				</tr>
				
				<tr>
					<td><label for="image2" class="control-label x85">A公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up3" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success3" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="${json[2]!}" id="doc_pic3">
                        </div> <span id="doc_span_pic3"><img src="http://jiaoshi.oss-cn-hangzhou.aliyuncs.com/${json[2]!}" height="100" width="200"></span></td>
					<td>
				</tr>
			
					<tr>
					<td><label for="image2" class="control-label x85">B公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up4" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success4" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="${json[3]!}" id="doc_pic4">
                        </div> <span id="doc_span_pic4"><img src="http://jiaoshi.oss-cn-hangzhou.aliyuncs.com/${json[3]!}" height="100" width="200"></span></td>
					<td>
				</tr>
						<tr>
					<td><label for="image2" class="control-label x85">C公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up5" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success5" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="${json[4]!}" id="doc_pic5">
                        </div> <span id="doc_span_pic5"><img src="http://jiaoshi.oss-cn-hangzhou.aliyuncs.com/${json[4]!}" height="100" width="200"></span></td>
					<td>
				</tr>
					
						<tr>
					<td><label for="image2" class="control-label x85">D公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up6" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success6" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="${json[5]!}" id="doc_pic6">
                        </div> <span id="doc_span_pic6"><img src="http://jiaoshi.oss-cn-hangzhou.aliyuncs.com/${json[5]!}" height="100" width="200"></span></td>
					<td>
				</tr>
				<tr>
					<td><label for="answer" class="control-label x85">答案：</label>
						<input type="text" name="answer" id="answer" value="${vo.answer!}"
						data-rule=""></td>
					<td>
				</tr>
				<tr>
					<td><label for="answers" class="control-label x85">
							答案描述：</label> <textarea cols="70" rows="5" type="text" name="answers" id="answers"
						value="" data-rule="">${vo.answers!}</textarea></td>
					<td>
				</tr>
				<tr>
					<td><label for="analysis" class="control-label x85">解析：</label>
						<textarea cols="70" rows="5" type="text" name="analysis" id="analysis"
						 data-rule="">${vo.analysis!}</textarea></td>
					<td>
				</tr>
				<tr>
					<td><label for="fraction" class="control-label x85">分数：</label>
						<input type="text" name="fraction" id="fraction"
						value="${vo.fraction!}" data-rule=""></td>
					<td>
				</tr>
					<tr>
			<td><label for="questionsTypeId" class="control-label x85">父id：</label>
						<input type="text" name="questionsTypeId" id="questionsTypeId"
						value="${vo.questionsTypeId!}" data-rule="required "></td>
					<td>
				</tr>
						<tr>
					<td><label for="image" class="control-label x85">图片：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success2" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="image" value="${vo.image!}" id="doc_pic2">
                        </div> <span id="doc_span_pic2"><img src="http://jiaoshi.oss-cn-hangzhou.aliyuncs.com/${vo.image!}" height="100" width="200"></span></td>
					<td>
				</tr>

			</tbody>
		</table>
	</form>
</div>
<div class="bjui-pageFooter">
	<ul>
		<li><button type="button" class="btn-close" data-icon="close">取消</button></li>
		<li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
	</ul>
</div>